package com.xdb.sqlparser.dialect.oracle.ast.statement;

import com.xdb.sqlparser.dialect.oracle.visitor.OracleASTVisitor;

public class OracleCommitStatement extends OracleStatementImpl {

	private boolean write;
	private Boolean wait;
	private Boolean immediate;

	@Override
	public void accept0(OracleASTVisitor visitor) {
		visitor.visit(this);
		visitor.endVisit(this);
	}

	public boolean isWrite() {
		return write;
	}

	public void setWrite(boolean write) {
		this.write = write;
	}

	public Boolean getWait() {
		return wait;
	}

	public void setWait(Boolean wait) {
		this.wait = wait;
	}

	public Boolean getImmediate() {
		return immediate;
	}

	public void setImmediate(Boolean immediate) {
		this.immediate = immediate;
	}

}
